/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bradley.calculator;

/**
 *
 * @author 211093637
 */
public class CalculatorImpl implements Calculator{

    @Override
    public int getAdd() {
        int num1 = 2;
        int num2 = 6;
        return (num1 + num2);  
    }

    @Override
    public float getDivide() {
        float num1 = 10;
        float num2 = 5;
        return (num1 / num2);
    }

    @Override
    public String getEquality() {
        String s1 = new String("hi");
        return s1;
    }

    @Override
    public String getID() {
        String s2 = new String("hi");
        return s2;
    }
        
    @Override
    public boolean getTruth() {
        if (6 < 7) {
            return true;
        }
        else {
            return false;
        }
    }
    
    @Override
    public boolean getFalse() {
        if (6 > 7) {
            return true;
        }
        else {
            return false;
        }
    }

    @Override
    public String getFail() {
        return "Failed";
    }

    @Override
    public String getTimeOut() {
        return "Time Out";
    }

    @Override
    public String getIgnore() {
        return "This will be ignored";
    }

    @Override
    public int[] getArray() {
        int[] array = new int[5];
        
        for (int i = 0; i < array.length; i++)
        {
            array[i] = i;
        }
        return array;
    }

}
